package org.jeecg.module.flow.meter.tcpserver.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @Author: 86176
 * @Date: 2024-07-09 15:44
 * @Version: 1.0
 */
@Data
public class ElectricDeviceForeignVo {
    //电表编号
    private String electricNumber;

    private BigDecimal aPowerFactor;

    private BigDecimal aCurrent;

    private BigDecimal aVoltage;

    private Integer aWorkHard;

    private Integer aUselessWork;

    private BigDecimal bPowerFactor;

    private BigDecimal bCurrent;

    private BigDecimal bVoltage;

    private Integer bWorkHard;

    private Integer bUselessWork;

    private BigDecimal cPowerFactor;

    private BigDecimal cCurrent;

    private BigDecimal cVoltage;

    private Integer cWorkHard;

    private Integer cUselessWork;

    private BigDecimal usageTotal;

    private Integer continuatorStatus;

    private Integer continuatorFaultStatus;


    /**创建时间*/
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date uploadTime;
    /**修改时间*/
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date updateTime;

    /**createBy*/
    private String createBy;
    /**updateBy*/
    private String updateBy;

    /**租户id*/
    private String tenantId;

    /**继电器故障异常原因*/
    private String continuatorFaultReason;

    private String  terminalHearBeat;
}
